//
//  Function.h
//  Computer
//
//  Created by qianfeng on 15/10/20.
//  Copyright © 2015年 qianfeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface Function : NSObject

//封装一个NSUserDefaults的读取操作
+(void)saveValue:(id)value forKey:(NSString *)key;
+(id)getValueForKey:(NSString *)key;

//封装 navigationBar上的按钮
+(UIBarButtonItem *)barButtonTitle:(NSString *)title image:(NSString *)image target:(id)target sel:(SEL)selector;

@end
